package com.xinzhi.savingpot.rminfo.mapper;

/**
 * swf
 * 2021/01/14——18:15:39
 */

import com.xinzhi.savingpot.rminfo.entity.Krypton;
import com.xinzhi.savingpot.rminfo.entity.Rechargerecord;
import com.xinzhi.savingpot.rminfo.pojo.KryptonVO;
import com.xinzhi.savingpot.rminfo.pojo.RechargerecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 充值
 */
public interface IKryptonMapper {

    /**
     * 添加充值记录
     * @return
     */
    int addKrypton(@Param("k") Krypton k);

    /**
     * 查询充值记录
     * @return
     */
    List<Krypton> getKrypton(@Param("k") Krypton k);

    /**
     * 添加充值会员记录
     * @return
     */
    int addRechargerecord(@Param("r") Rechargerecord r);

    /**
     * 查询充值会员记录
     * @return
     */
    List<Rechargerecord> getRechargerecord(@Param("r") Rechargerecord r);

}
